package com.h3c.web.support.cas.common;

import java.util.Map;

import com.google.common.collect.Maps;

public class ClientInfoHolder {
	private static Map<String, ClientInfo> map = Maps.newConcurrentMap();
	
	//禁止实例化
	private ClientInfoHolder() {
	};
	
	public static void put(String tgt, ClientInfo clientInfo) {
		map.put(tgt, clientInfo);
	}
	public static ClientInfo get(String tgt) {
		return map.get(tgt);
	}
	public static void remove(String tgt) {
		map.remove(tgt);
	}
	public static Map<String, ClientInfo> get() {
		return map;
	}
}
